//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Spokane Symphony: Star Wars The Empire Strikes Back - Film With Live Orchestra','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','5/4/2024','7:30 PM','5880211','Spokane-Symphony--Star-Wars-The-Empire-Strikes-Back---Film-With-Live-Orchestra-5-4-2024'],['Spokane Symphony: Star Wars The Empire Strikes Back - Film With Live Orchestra','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','5/5/2024','3:00 PM','5880212','Spokane-Symphony--Star-Wars-The-Empire-Strikes-Back---Film-With-Live-Orchestra-5-5-2024'],['Spokane Symphony: Masterworks 9 - Expo '74','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','5/11/2024','7:30 PM','5880206','Spokane-Symphony--Masterworks-9---Expo--74-5-11-2024'],['Spokane Symphony: Masterworks 9 - Expo '74','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','5/12/2024','3:00 PM','5880207','Spokane-Symphony--Masterworks-9---Expo--74-5-12-2024'],['Spokane Symphony: Morihiko Nakahara - Beethoven and Brews','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','5/18/2024','7:30 PM','5987642','Spokane-Symphony--Morihiko-Nakahara---Beethoven-and-Brews-5-18-2024'],['Spokane Youth Symphony: Expo!','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','5/19/2024','4:00 PM','6381143','Spokane-Youth-Symphony--Expo--5-19-2024'],['Artistry in Motion: Forever Dance','Martin Woldson Theatre At The Fox','Spokane, WA','Tuesday','6/11/2024','7:00 PM','6381151','Artistry-in-Motion--Forever-Dance-6-11-2024'],['Artistry in Motion: Forever Dance','Martin Woldson Theatre At The Fox','Spokane, WA','Wednesday','6/12/2024','7:00 PM','6381152','Artistry-in-Motion--Forever-Dance-6-12-2024'],['John Crist','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','6/16/2024','7:00 PM','6230988','John-Crist-6-16-2024'],['Colin Jost','Martin Woldson Theatre At The Fox','Spokane, WA','Thursday','6/20/2024','7:30 PM','5946315','Colin-Jost-6-20-2024'],['Ellen DeGeneres','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','6/23/2024','7:00 PM','6360819','Ellen-DeGeneres-6-23-2024'],['Ellen DeGeneres','Martin Woldson Theatre At The Fox','Spokane, WA','Monday','6/24/2024','7:30 PM','6366057','Ellen-DeGeneres-6-24-2024'],['Whose Live Anyway?','Martin Woldson Theatre At The Fox','Spokane, WA','Friday','6/28/2024','7:30 PM','6303532','Whose-Live-Anyway--6-28-2024'],['Lyle Lovett and His Large Band','Martin Woldson Theatre At The Fox','Spokane, WA','Monday','7/15/2024','7:30 PM','6335529','Lyle-Lovett-and-His-Large-Band-7-15-2024'],['Australian Pink Floyd Show','Martin Woldson Theatre At The Fox','Spokane, WA','Friday','8/2/2024','8:00 PM','6242264','Australian-Pink-Floyd-Show-8-2-2024'],['Dane Cook','Martin Woldson Theatre At The Fox','Spokane, WA','Thursday','9/5/2024','7:00 PM','6412209','Dane-Cook-9-5-2024'],['John Lydon (Johnny Rotten)','Martin Woldson Theatre At The Fox','Spokane, WA','Wednesday','9/25/2024','8:00 PM','6301203','John-Lydon--Johnny-Rotten--9-25-2024'],['Indigo Girls','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','9/29/2024','7:30 PM','6384557','Indigo-Girls-9-29-2024'],['Black Jacket Symphony: Elton John's Madman Across the Water','Martin Woldson Theatre At The Fox','Spokane, WA','Monday','11/4/2024','8:00 PM','6337834','Black-Jacket-Symphony--Elton-John-s-Madman-Across-the-Water-11-4-2024'],['Anne Wilson','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','11/16/2024','7:00 PM','6395544','Anne-Wilson-11-16-2024'],['Glenn Miller Orchestra: In The Christmas Mood','Martin Woldson Theatre At The Fox','Spokane, WA','Tuesday','12/10/2024','7:00 PM','6393416','Glenn-Miller-Orchestra--In-The-Christmas-Mood-12-10-2024'],['Spokane Symphony: James Lowe - The Magic of Halloween','Martin Woldson Theatre At The Fox','Spokane, WA','Thursday','10/30/2070','8:00 PM','4495538','Spokane-Symphony--James-Lowe---The-Magic-of-Halloween-10-30-2070'],['Spokane Symphony: James Lowe - The Magic of Halloween','Martin Woldson Theatre At The Fox','Spokane, WA','Friday','10/31/2070','2:00 PM','4495539','Spokane-Symphony--James-Lowe---The-Magic-of-Halloween-10-31-2070'],['Spokane Symphony: James Lowe - New Year's Eve','Martin Woldson Theatre At The Fox','Spokane, WA','Wednesday','12/31/2070','7:30 PM','4495537','Spokane-Symphony--James-Lowe---New-Year-s-Eve-12-31-2070'],['Dirty Dancing In Concert','Martin Woldson Theatre At The Fox','Spokane, WA','Thursday','11/16/2073','7:30 PM','5704909','Dirty-Dancing-In-Concert-11-16-2073']],'Fox Theater Spokane','http://www.ticketnetwork.com/ticket/Fox-Theater-Spokane-events.aspx');